<%@ page language="java" pageEncoding="UTF-8"%>
<!DOCTYPE HTML>
<html>
<head>
<link rel="stylesheet" href="http://cdn.bootcss.com/bootstrap/3.3.2/css/bootstrap.min.css">

<!-- jQuery文件。务必在bootstrap.min.js 之前引入 -->
<script src="http://cdn.bootcss.com/jquery/1.11.2/jquery.min.js"></script>

<!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
<script src="http://cdn.bootcss.com/bootstrap/3.3.2/js/bootstrap.min.js"></script>
<title>文件上传</title>
</head>

<body>
	<form
		action="${pageContext.request.contextPath}/servlet/UploadHandleServlet"
		enctype="multipart/form-data" method="post">
		<div class="form-group">
			<label for="exampleInputFile">File input</label> <input type="file"
				name="file1">
			<p class="help-block">${success}</p>
		</div>
		
		<button type="submit" class="btn btn-default">Submit</button>
	</form>

</body>
</html>